﻿function issub() {
 var linkman = document.getElementById("linkman").value;
      if(linkman == "null" ||linkman=="")
    {
        alert("请输入联系人，谢谢！");
        
        document.getElementById("linkman").focus();
        return;

    }
     
     var tel = document.getElementById("tel").value;
      if(tel == "null" ||tel=="")
    {
        alert("请输入固定电话/手机，谢谢！");
        document.getElementById("tel").focus();
         return;
    }	
var zip = document.getElementById("zip").value;
      if(zip!="null"){
      	  if (zip.length>6){
      	  	alert("邮政编码位数不能超过6位，谢谢！");
      	  	
      	  	document.getElementById("zip").focus();
      	  	return;
      	  	}
      	
      	}
var detaileddescription = document.getElementById("detaileddescription").value;
      if(detaileddescription == "null" ||detaileddescription =="")
    {
        alert("请输入详细说明，谢谢！");
        
        document.getElementById("detaileddescription").focus();
        return;
    }
   document.getElementById("tijiao").submit();  	
	
	}